home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gCurrQuestion, gAnimObj, gVoiceChannel, gPathToSound, fileDelimiter, gValue, gCategory, gCatSprite, gValueSprite
- if not (the puppet of sprite gCatSprite) then
- puppetSprite(gCatSprite, 1)
- end if
- set the memberNum of sprite gCatSprite to the number of member ("cat" & gCategory & " full") of castLib "categories and point values"
- if not (the puppet of sprite gValueSprite) then
- puppetSprite(gValueSprite, 1)
- end if
- set the memberNum of sprite gValueSprite to the number of member ("cat" & gCategory & "-" & gValue & " full") of castLib "categories and point values"
- updateStage()
- end
-